package com.wjl.mianshiti.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wjl.mianshiti.model.entity.Question;
import org.apache.ibatis.annotations.Select;

import java.util.Date;
import java.util.List;

/**
* @author wangjilin
* @description 针对表【question(题目)】的数据库操作Mapper
* @createDate 2024-09-28 16:38:35
* @Entity com.wjl.mianshiti.model.entity.Question
*/
public interface QuestionMapper extends BaseMapper<Question> {

    @Select("select  * from question where updateTime < #{fiveMinutesAgoDate}")
    List<Question> listQuestionWithDelete(Date fiveMinutesAgoDate);
}




